package com.xwb.mapper;

import java.util.ArrayList;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.xwb.pojo.Life;
import com.xwb.pojo.Review;
@Mapper
public interface LifeMapper {
	ArrayList<Life> list();
	Life findByid(Integer lid);
	void updatazan(@Param("lid")Integer lid,@Param("lzan")Integer lzan); //更新点赞数
	void addreview(Review review);
	ArrayList<Review> findreviewByid(Integer lid);
}
